.class Lcom/waiqin365/lightapp/dailyreport/view/bd;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Landroid/view/View;

.field final synthetic b:Lcom/waiqin365/lightapp/dailyreport/view/at;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/dailyreport/view/at;Landroid/view/View;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/dailyreport/view/bd;->b:Lcom/waiqin365/lightapp/dailyreport/view/at;

    iput-object p2, p0, Lcom/waiqin365/lightapp/dailyreport/view/bd;->a:Landroid/view/View;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4

    const v3, 0x7f0c0600

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bd;->b:Lcom/waiqin365/lightapp/dailyreport/view/at;

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/view/at;->d:Lcom/waiqin365/lightapp/dailyreport/view/a;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bd;->b:Lcom/waiqin365/lightapp/dailyreport/view/at;

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/view/at;->d:Lcom/waiqin365/lightapp/dailyreport/view/a;

    iget-boolean v0, v0, Lcom/waiqin365/lightapp/dailyreport/view/a;->d:Z

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bd;->b:Lcom/waiqin365/lightapp/dailyreport/view/at;

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/view/at;->d:Lcom/waiqin365/lightapp/dailyreport/view/a;

    const/4 v1, 0x1

    iput-boolean v1, v0, Lcom/waiqin365/lightapp/dailyreport/view/a;->d:Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bd;->b:Lcom/waiqin365/lightapp/dailyreport/view/at;

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/view/at;->d:Lcom/waiqin365/lightapp/dailyreport/view/a;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/a;->notifyDataSetChanged()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bd;->a:Landroid/view/View;

    invoke-virtual {v0, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bd;->b:Lcom/waiqin365/lightapp/dailyreport/view/at;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/at;->j(Lcom/waiqin365/lightapp/dailyreport/view/at;)Landroid/widget/ImageView;

    move-result-object v0

    const v1, 0x7f020125

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bd;->b:Lcom/waiqin365/lightapp/dailyreport/view/at;

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/view/at;->d:Lcom/waiqin365/lightapp/dailyreport/view/a;

    iput-boolean v2, v0, Lcom/waiqin365/lightapp/dailyreport/view/a;->d:Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bd;->b:Lcom/waiqin365/lightapp/dailyreport/view/at;

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/view/at;->d:Lcom/waiqin365/lightapp/dailyreport/view/a;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/a;->notifyDataSetChanged()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bd;->a:Landroid/view/View;

    invoke-virtual {v0, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bd;->b:Lcom/waiqin365/lightapp/dailyreport/view/at;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/at;->j(Lcom/waiqin365/lightapp/dailyreport/view/at;)Landroid/widget/ImageView;

    move-result-object v0

    const v1, 0x7f020126

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    goto :goto_0
.end method
